<!doctype html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>KISSY gallery - 旺群点灯</title> 
	<link rel="shortcut icon" href="../../../../kissy-dpl/base/assets/favicon.ico"/>
	<link rel="stylesheet" href="../../../../kissy-dpl/base/assets/reset.css"/>
	<link rel="stylesheet" href="../../../../kissy-dpl/base/assets/kissy-docs.css"/>
<style>
h4 {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 10px;
}
textarea {
	border: 1px solid #BBBBBB;
	font-family: Inconsolata,monaco,courier;
	font-size: 12px;
	height: 280px;
	margin-bottom: 20px;
	padding: 5px;
	width: 800px;
}
</style>

    <script src="http://docs.kissyui.com/kissy/build/kissy.js"></script>
    <script>
        KISSY.config({
            packages:[
                {
                    name:"gallery",
                    tag:"20111220",
                    path:"../../../",  // cdn上适当修改对应路径
                    charset:"utf-8"
                }
            ]
        });
    </script>
    <script src="../../../../kissy-dpl/base/assets/kissy-docs.js"></script>

</head>
<body>
    <div id="header"> 
		<h1 class="logo"><a alt="KISSY" href="http://kissyui.com/"><img src="../../../../kissy-dpl/base/assets/logo.png"/></a></h1>
		<div class="sub-title">Gallery</div>
		<ul class="navigation"> 
			<li><a href="http://blog.kissyui.com/">博客</a></li> 
			<li><a href="http://github.com/kissyteam">源码</a></li> 		
		</ul>
		
	</div> 
    <div id="content">
		<div class="s-crumbs">
			<span>当前位置：</span>
			<a href="http://kissyui.com/">KISSY</a>
			<a href="../../../index.html">Gallery</a>
			<span>旺群点灯</span>
		</div>
			<pre class="s-section">				
作者：bangyan@taobao.com
功能：旺群点灯
描述：点亮页面中的旺旺群图标，使之可以快速加入旺旺群聊
源码：<a href="wwgroup.js">wwgroup.js</a></pre>
			
			<h3 class="s-title">Demo - 旺群点灯</h3>			
			<div class="s-section">
				<div class="s-demo">
					<div>
						<h4>页面中的点灯钩子</h4>
<pre>&lt;span class="J_WWGroup" data-group="群号" data-icon="图标类型"&gt;&lt;/span&gt;</pre>
					</div>
					<h4>图标类型：mini</h4>
<span class="J_WWGroup" data-group="41643476" data-icon="mini"></span>
					<h4>图标类型：small</h4>
<span class="J_WWGroup" data-group="41643476" data-icon="small"></span>
					<h4>图标类型：medium</h4>
<span class="J_WWGroup" data-group="41643476" data-icon="medium"></span>
					<h4>图标类型：large</h4>
<span class="J_WWGroup" data-group="41643476" data-icon="large"></span>
					<script>
KISSY.use('gallery/wwgroup/1.0/', function(S, WWGroup){
	WWGroup();
});
					</script>
				</div>
				<a class="s-view-code" href="demo.html#">显示源码</a><!--点击该链接自动帮你显示s=demo里的内容，如不需要，去除链接即可-->
			</div>
			
			<h3 class="s-title">API</h3>			
			<div class="s-section">
				<h4 class="s-api-title">方法</h4>
				<div class="s-api-method"> WWGroup ()</div>
				<h4 class="s-api-title">自定义属性</h4>
				<div class="s-api-params">
					<ul class="s-list">
						<li>data-group [] 群号</li>
						<li>data-icon [ mini | small | medium | large ] 图标类型，默认 small 类型</li>
					</ul>
				</div>
				<h4 class="s-api-title">返回</h4>
				<div class="s-api-return">暂无</div>
			</div>
			
			<h3 class="s-title">Note</h3>			
			<div class="s-section">
				<ul class="s-list">
					<li>暂无</li>
				</ul>
			</div>
    </div>
    <div id="footer">
        &copy; Copyright 2010~2011, KISSY Team.
    </div>
</body>
</html>